package GAM
{
	import flash.events.Event;
	import flash.events.TimerEvent;
	import flash.display.Loader;
	import flash.net.URLRequest;
	import flash.utils.Timer;

	public class item extends node
		
	{
		
		private var loader:Loader=new Loader()
		public function item()
		{
			super();
		}
		override public function init():void
		{
			
			loader.load(new URLRequest("image/item.jpg"));
			
			loader.contentLoaderInfo.addEventListener(Event.COMPLETE,oncomplete);
			
			
			
			addChild(loader);
			
		}
		public function oncomplete(e:Event):void
		{
			
			loader.width=25;
			loader.height=25;
		}
		
	}
	
}